package com.zhangbo.myapplication.application;

import android.app.Application;
import android.util.Log;

import com.zhangbo.myapplication.util.MyUtil;

/**
 * Name:BoApplication
 * Author:Zhang Bo
 * Date:2017/5/26
 * Describe:
 */
public class BoApplication extends Application {
    private static final String Tag = BoApplication.class.getSimpleName();

    @Override
    public void onCreate() {
        super.onCreate();

        int pid = android.os.Process.myPid();
        String processName = MyUtil.getAppName(BoApplication.this);

        Log.e(Tag, "Process Name = " + pid + " " + processName);

    }
}
